package com.dupf.product.rpc.api;

import com.dupf.common.base.BaseService;
import com.dupf.product.dao.model.ProductVariant;
import com.dupf.product.dao.model.ProductVariantExample;

import java.util.List;
import java.util.Map;

/**
* ProductVariantService接口
* Created by dupf on 2018/10/18.
*/
public interface ProductVariantService extends BaseService<ProductVariant, ProductVariantExample> {

    Integer getOrder(ProductVariant productVariant);

    Integer addVariant(ProductVariant productVariant);

    List<Map<String,Object>> getUserVariantCountList(Integer orgId);
}